﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true"
    Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <script src="../../Scripts/Jquery/watermarkinput.js" type="text/javascript"></script>

    <link href="/Content/css/css.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript">
    jQuery(function($) {
    $("#Oppassword").Watermark("Email或昵称");
});

    </script>

    <div>
        <form id="form1" action="/Account/Login" method="post">
        <table align="center" style="position: relative; top: 20px">
            <tr align="center">
                <td colspan="3">
                    请输入正确后登陆
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td align="right">
                    <%=Html.Encode(ViewData["lbUsername"])%>:
                </td>
                <td>
                    <%= Html.TextBox("username")%>
                    <%= Html.ValidationMessage("username2") %>
                    <label id="result">
                    </label>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td align="right">
                    <%=Html.Encode(ViewData["lbPassword"])%>:
                </td>
                <td>
                    <%= Html.Password("password")%>
                    <%= Html.ValidationMessage("password2") %>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                </td>
                <td>
                    <%= Html.CheckBox("rememberMe") %><%=Html.Encode(ViewData["lbRemindMe"])%>
                </td>
            </tr>
            <tr align="center">
                <td>
                </td>
                <td>
                    <%= Html.Hidden("oper","oper") %>
                </td>
                <td>
                    <input type="submit" name="Login" value="<%=Html.Encode(ViewData["lbLogin"])%>" /><%--<a href="Account/Register"><input type="submit" name="Register" value="注册" style=" width:55px"/> --%>
                    </a>
                </td>
            </tr>
        </table>
        </form>
    </div>
</asp:Content>
